home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Shareware
/
Business Shareware.iso
/
start
/
wordproc
/
me_cd25
/
min.mut
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-11-09
|
261 b
|
13 lines
;; min.mut : find the the minimum of a list of numbers
;; eg (min 1 2 3 4 5) returns 1
;; C Durland Public Domain
(defun min HIDDEN
{
(int n i)
(n (arg (i (- (nargs) 1))))
(while (>= (-= i 1) 0) (if (< (arg i) n) (n (arg i))) )
n
})